.layout {
    font: normal 100% Helvetica, Arial, sans-serif;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;

    :global {
        .ant-layout-header {
            color: #fff;
            padding: 0 2em;
            display: flex;
            justify-content: space-between;
        }
    }
}

.avator {
    background-image: url(../../../static/img/avator.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 3rem;
    height: 3rem;
    border-radius: 2rem;
    margin-top: 7px;
    cursor: pointer;
}

.avator:hover {
    border: 1px solid #000;
    background-color: #fff;
}

.search {
    display: flex;
    flex-grow: 1;
}
.content {
    padding: 24px 40px;
    background: #fff; 
    overflow: scroll;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    background-image: url(http://www.dmoe.cc/random.php?233335556958);
}
.loginAvatar {
    background-color: #87d068;
    margin-left: 2rem;
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .layout {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        font: 0.3rem Helvetica, Arial, sans-serif;
        :global {
            .ant-layout-header {
                padding: 0;
                width: 100%;
            }
        }
    }
    .content {
        padding: 0em;
        font-size: 1rem;
    }

    .avator {
        background-image: url(../../../static/img/avator.jpeg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 3rem;
        height: 3rem;
        border-radius: 2rem;
        margin: 0.5rem;
        cursor: pointer;
    }
    .search {
        display: flex;
        flex-grow: 1;
    }
    .loginAvatar {
        display: none;
    }
}
